function Fnc() {
  // 函数组件没有this
  const handlerClick = e => {
    console.log(e)
  }
  return (
    <div>
      <h1 onClick={handlerClick}>函数组件</h1>
    </div>
  )
}

export default Fnc
